#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2020/12/7 12:02
# @Author  : Andrewq
# @Site    : nope
# @File    : departments_view.py
# @Software: PyCharm

from flask import render_template
from flask_login import login_required
from . import view


@view.route('/all_order', methods=('GET', 'POST'), endpoint='all_order')
@login_required
def departments():
    return render_template('all_order.html')